export function injectCodePlugin() {
  console.log("走 了吗");
  return {
    name: "inject-code",
    transformIndexHtml(html) {
      console.log(html);
      return (html += `<script src="https://cdn.jsdelivr.net/npm/opfs-tools-explorer"></script>
    <script>
      OTExplorer.init();
    </script>`);
    },
  };
}
